import { DataPreferences } from './DataPreferences';
export class DataStoreUtil {
    constructor() {
    }
    static getPreferences() {
        return DataPreferences.getInstance().getPreferences();
    }
    static getInstance() {
        if (!DataStoreUtil.mDataStoreUtil) {
            DataStoreUtil.mDataStoreUtil = new DataStoreUtil();
        }
        return DataStoreUtil.mDataStoreUtil;
    }
    static init(n18, o18) {
        DataPreferences.getInstance().init(n18, o18);
    }
    static setFlush(m18) {
        DataPreferences.getInstance().setFlush(m18);
        return DataStoreUtil.getInstance();
    }
    static setPreferences(l18) {
        DataPreferences.getInstance().setPreferences(l18);
        return DataStoreUtil.getInstance();
    }
    static put(i18, j18, k18) {
        DataPreferences.getInstance().put(i18, j18, k18);
    }
    static putSync(g18, h18) {
        DataPreferences.getInstance().putSync(g18, h18);
    }
    static getSync(e18, f18) {
        return DataPreferences.getInstance().getSync(e18, f18);
    }
    static get(c18, d18) {
        DataPreferences.getInstance().get(c18, d18);
        return DataStoreUtil.getInstance();
    }
    result(a18, b18) {
        DataPreferences.getInstance().result(a18, b18);
    }
    static hasSync(z17) {
        return DataPreferences.getInstance().hasSync(z17);
    }
    static has(x17, y17) {
        DataPreferences.getInstance().has(x17, y17);
    }
    static deleteSync(w17) {
        DataPreferences.getInstance().deleteSync(w17);
    }
    static delete(u17, v17) {
        DataPreferences.getInstance().delete(u17, v17);
    }
    static getAllSync() {
        return DataPreferences.getInstance().getAllSync();
    }
    static getAll(t17) {
        DataPreferences.getInstance().getAll(t17);
    }
    static flush(s17) {
        DataPreferences.getInstance().flush(s17);
    }
    static clear(q17, r17) {
        DataPreferences.getInstance().clear(q17, r17);
    }
    static clearSync() {
        DataPreferences.getInstance().clearSync();
    }
    static onChange(p17) {
        DataPreferences.getInstance().onChange(p17);
    }
    static onChangeOff(o17) {
        DataPreferences.getInstance().onChangeOff(o17);
    }
    static onMultiProcessChange(n17) {
        DataPreferences.getInstance().onMultiProcessChange(n17);
    }
    static onMultiProcessChangeOff(m17) {
        DataPreferences.getInstance().onMultiProcessChangeOff(m17);
    }
}
